<?php
    //查询会员
    function getMember($weixin){
        $member = Member::get_one("weixin='".$weixin."'");
        if ($member){
            return $member;
        }else{
            return false;
        }
    }
?>